package utils

import "time"

func (c *GoGo_Utils_Class) TimeSleepMilliSecond(t interface{}) {
	time.Sleep(time.Duration(c.GetFloat64(t)) * time.Millisecond)
}

func (c *GoGo_Utils_Class) TimeSleepSecond(t interface{}) {
	time.Sleep(time.Duration(c.GetFloat64(t)) * time.Second)
}

func (c *GoGo_Utils_Class) TimeSleepMinute(t interface{}) {
	time.Sleep(time.Duration(c.GetFloat64(t)) * time.Minute)
}

func (c *GoGo_Utils_Class) TimeSleepHour(t interface{}) {
	time.Sleep(time.Duration(c.GetFloat64(t)) * time.Hour)
}
